﻿namespace KingerRobot.MexicoSailunWMS.SpiService;

internal interface IMonitorManage
{
    /// <summary>
    /// 监控，线体部分,展示输送线所有节点
    /// </summary>
    /// <returns></returns>
    List<LineMonitorBeans> GetLineMonitorBeans(LineMonitorParam param);
    List<LineMonitorBeans> GetLineMonitorBeansV2();
    List<LineMonitorBeans> GetLineMonitorBeansV3();
    List<LineMonitorBeans> GetLineMonitorBeansNew();
    List<POVLocationEnableNum> GetRcsLocation();

    CuringListBeans GetCuringNodesByEquipId(long equipId);


    //List<TemAndHumBeans> GetTemperatureAndHumidity();


    /// <summary>
    /// 获取硫化机排信息
    /// </summary>
    /// <param name="param"></param>
    /// <returns></returns>
    List<CuringMessageBeans> GetCuringMessageBeans(CuringMessageParam param);
    /// <summary>
    /// 新监控页面 鼠标悬停硫化机
    /// </summary>
    /// <returns></returns>
    CuringListBeans GetCuringListBeans(CuringListParam param);
    /// <summary>
    /// 堆垛机监控—— 之 —— 任务
    /// </summary>
    /// <param name="param"></param>
    /// <returns></returns>
    List<CrnTaskBeans> GetCrnTask(CrnMonitorParam param);

    /// <summary>
    /// 堆垛机监控 —— 之 —— 设备 
    /// </summary>
    CrnEquipBeans GetCrnEquip(CrnMonitorParam param);

    /// <summary>
    /// 指令重发
    /// </summary>
    /// <param name="cmdId"></param>
    /// <returns></returns>
    int ReSendCmds(long? cmdId);


    /// <summary>
    /// 堆垛机监控—— 之 —— 任务
    /// </summary>
    /// <param name="param"></param>
    /// <returns></returns>
    List<EMSTaskBeans> GetEMSTasks(EmsMonitorParam param);

    /// <summary>
    /// 堆垛机监控 —— 之 —— 设备 
    /// </summary>
    EMSEquipBeans GetEMSEquip(EmsMonitorParam param);
    /// <summary>
    /// 库存状态显示图 —— 版本2
    /// </summary>
    /// <param name="crnName"></param>
    /// <returns></returns>
    CrnLocBeans GetLocMonitorsByCrn(string crnName);

    LineInfoBean GetLineInfoByLineId(long id);

    int UpdateLineValue(UpdateLineInfoParam param);
}





